﻿package kliment.queueloader {
	import flash.events.Event;
	
	/**
	 * ...
	 * @author	Kliment
	 * @version	0.1.1
	 */
	public class QueueLoaderEvent extends Event {
		static public const ITEM_START:String = "item_start";
		static public const ITEM_PROGRESS:String = "item_progress";
		static public const ITEM_COMPLETE:String = "item_complete";
		static public const ITEM_ERROR:String = "item_error";
		static public const ITEM_HTTP_STATUS:String = "item_httpstatus";
		static public const QUEUE_START:String = "queue_start";
		static public const QUEUE_PROGRESS:String = "queue_progress";
		static public const QUEUE_COMPLETE:String = "queue_complete";
		
		public function QueueLoaderEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) { 
			super(type, bubbles, cancelable);
			
		} 
		
		public override function clone():Event { 
			return new QueueLoaderEvent(type, bubbles, cancelable);
		} 
		
		public override function toString():String { 
			return formatToString("QueueLoaderEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}